# encoding: utf-8

# from bluelog import create_app
#
# if __name__ == '__main__':
#     app = create_app()
#     app.run(debug=True, port=5005)

from tornado.wsgi import WSGIContainer
from tornado.httpserver import HTTPServer
from tornado.ioloop import IOLoop
from bluelog import create_app

app = create_app()
http_server = HTTPServer(WSGIContainer(app))
http_server.listen(8080)
IOLoop.instance().start()
